package com.ce.pms.house.vo;

import com.ce.pms.common.web.ICacheManage;
import com.sitechasia.webx.core.model.IViewObject;
/**
 * 功能描述: 配套设施VO
 * <p>版权所有：中企动力
 * <p>未经本公司许可，不得以任何方式复制或使用本程序任何部分
 *
 * @author  胡煦
 * Create on:2008-7-3
 * Edit author:
 * Edit on:
 * 修改原因：

 */

public class EnvironmentVO implements IViewObject, ICacheManage{

		private Long keyword; //配套设施ID
		private Long projectId;//所属建设期
		private String name;//设施名称
		private ImageVO ichnographysImage;//平面图
		private ImageVO visionImage;//效果图
		private String description;//描述
		private Long Creator;//创建人
		private String SysDate;//创建日期
		private Long Modifier;//修改人
		private String ModifyDate;//修改日期

		private String isReload = ""; //判断是否点击新增并加载按钮(为isReload说明点了保存并新增)
		private String isSave = ""; //判断是否点击新增按钮

	public String getHasSave() {
		// TODO Auto-generated method stub
		return null;
	}

	public Integer getIndex() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getOpratorStatus() {
		// TODO Auto-generated method stub
		return null;
	}

	public void setHasSave(String hasSave) {
		// TODO Auto-generated method stub

	}

	public void setIndex(Integer index) {
		// TODO Auto-generated method stub

	}

	public void setOpratorStatus(String opratorStatus) {
		// TODO Auto-generated method stub

	}

	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * @return the creator
	 */
	public Long getCreator() {
		return Creator;
	}

	/**
	 * @param creator the creator to set
	 */
	public void setCreator(Long creator) {
		Creator = creator;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the ichnographysImage
	 */
	public ImageVO getIchnographysImage() {
		return ichnographysImage;
	}

	/**
	 * @param ichnographysImage the ichnographysImage to set
	 */
	public void setIchnographysImage(ImageVO ichnographysImage) {
		this.ichnographysImage = ichnographysImage;
	}

	/**
	 * @return the keyword
	 */
	public Long getKeyword() {
		return keyword;
	}

	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	/**
	 * @return the modifier
	 */
	public Long getModifier() {
		return Modifier;
	}

	/**
	 * @param modifier the modifier to set
	 */
	public void setModifier(Long modifier) {
		Modifier = modifier;
	}

	/**
	 * @return the modifyDate
	 */
	public String getModifyDate() {
		return ModifyDate;
	}

	/**
	 * @param modifyDate the modifyDate to set
	 */
	public void setModifyDate(String modifyDate) {
		ModifyDate = modifyDate;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the sysDate
	 */
	public String getSysDate() {
		return SysDate;
	}

	/**
	 * @param sysDate the sysDate to set
	 */
	public void setSysDate(String sysDate) {
		SysDate = sysDate;
	}

	/**
	 * @return the visionImage
	 */
	public ImageVO getVisionImage() {
		return visionImage;
	}

	/**
	 * @param visionImage the visionImage to set
	 */
	public void setVisionImage(ImageVO visionImage) {
		this.visionImage = visionImage;
	}


	/**
	 * @return the projectId
	 */
	public Long getProjectId() {
		return projectId;
	}

	/**
	 * @param projectId the projectId to set
	 */
	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}


	public String getIsReload() {
		return isReload;
	}

	public void setIsReload(String isReload) {
		this.isReload = isReload;
	}

	public String getIsSave() {
		return isSave;
	}

	public void setIsSave(String isSave) {
		this.isSave = isSave;
	}

	@Override
	public boolean equals(Object obj) {
		boolean flag = false;

		if(obj == null) return flag;

		if (obj instanceof EnvironmentVO) {
			EnvironmentVO temp = (EnvironmentVO)obj;
			if(getKeyword() != null && getKeyword().equals(temp.getKeyword()))
				flag = true;
		}
		return flag;
	}


}
